package com.jintoufs.dao.region;

import com.jintoufs.domain.region.Region;

import java.util.List;
import java.util.Map;

public interface RegionMapper {
    int deleteByPrimaryKey(Short id);

    int insert(Region record);

    int insertSelective(Region record);

    Region selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);

    /**
     * 根基参查询
     */
    List<Region> queryByParams(Map<String, Object> params);

    List<Region> queryZtree();


}